<?php
$title = 'name'.$rear;
?>
<div class="row-top-news">
    <div xmlns:v="http://rdf.data-vocabulary.org/#" class="breadcrumb">
	   <span typeof="v:Breadcrumb">
	     <a property="v:title" rel="v:url" title="Trang ch?" href="<?php echo base_url(); ?>">
	      Trang chủ
	    </a> ›
	   </span>
       <span typeof="v:Breadcrumb">
	     <a property="v:title" rel="v:url" title="Trang ch?" href="<?php echo base_url().'buoi-hoc-mau.html'; ?>">
	      Clip buổi mẫu
	    </a> ›
	   </span>
	   <span typeof="v:Breadcrumb">
	      <?php echo $videos->$title; ?> 
       </span>
	</div>
</div>
<!-- Module main body -->
<div class="module-body">
    <div class="content-module">
        <div class="player">
            <?php $link = $videos->link; $link_data = explode('?v=',$link); ?>
            <iframe width="560" height="315" src="//www.youtube.com/embed/<?php echo $link_data[1]; ?>" frameborder="0" allowfullscreen></iframe>
        </div>
        <h1 class="title-post"><?php echo $videos->$title; ?></h1>
    </div>
</div>
<!-- End module main body -->
<style>
    .player
    {
        min-height:400px;
        border:2px solid #fff;
        box-shadow:0px 0px 5px;
        position: relative;
    }
    .title-post
    {
        margin-top:40px;
        color:red;
    }
.player iframe,
.player object,
.player embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
</style>